package com.lcc.dingtalk.robot.pojo.answer;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * @author lincc
 * @version 1.0 2020/8/14
 * 自动回复配置表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SYS_AUTO_ANSWER_CONFIG")
public class AutoAnswerConfigPO implements Serializable {

    private static final long serialVersionUID = 1769435345883210255L;

    /**
     * 主键ID
     */
    @TableId(value = "ID", type = IdType.UUID)
    private String id;

    /**
     * 关键字
     */
    @TableField("keyword")
    private String keyword;

    /**
     * 回复信息
     */
    @TableField("reply_message")
    private String replyMessage;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private String createTime;

    /**
     * 修改时间
     */
    @TableField("update_time")
    private String updateTime;

    /**
     * 版本号
     */
    @Version
    @TableField("version")
    private Integer version;

    @TableField("type")
    private String type;

    @TableField("url")
    private String url;

    @TableField("params")
    private String params;
}
